package com.zhia.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhia.demo.entity.RecoverEntity;
import com.zhia.demo.vo.RecoverVo;

import java.util.List;

/**
 * @author DONG
 * @create 2023/11/4 16:33
 */
public interface RecoverService extends IService<RecoverEntity> {
    List<RecoverVo> getRecoverList(Integer id,Integer userId);

    void deleteByReviewId(Integer reviewId);

    void addRecover(RecoverEntity recoverEntity) throws Exception;

    void likeAdd(Integer id);

    void likeDec(Integer id);
}
